package org.jeecg.modules.nurse_user_bill.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.UnsupportedEncodingException;

/**
 * @Description: 用户电子发票
 * @Author: jeecg-boot
 * @Date: 2024-06-04
 * @Version: V1.0
 */
@Data
@TableName("nurse_user_bill_invoice")
@ApiModel(value = "nurse_user_bill_invoice对象", description = "用户电子发票")
public class NurseUserBillInvoice implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 发票ID
     */
    @ApiModelProperty(value = "发票ID")
    private String billId;
    /**
     * 发票号码
     */
    @Excel(name = "发票号码", width = 15)
    @ApiModelProperty(value = "发票号码")
    private String code;
    /**
     * 校验码
     */
    @Excel(name = "校验码", width = 15)
    @ApiModelProperty(value = "校验码")
    private String checkCode;
    /**
     * 发票地址
     */
    @Excel(name = "发票地址", width = 15)
    @ApiModelProperty(value = "发票地址")
    private String url;
    /**
     * 发票图片
     */
    @Excel(name = "发票图片", width = 15)
    @ApiModelProperty(value = "发票图片")
    private String pic;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private String userId;
    /**
     * 订单ID
     */
    @Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 状态,1新增,2开具电子票完成,3作废
     */
    @Excel(name = "状态", width = 15)
    @Dict(dicCode = "valid_status")
    @ApiModelProperty(value = "状态")
    private String status;


    /**
     * 抬头类型,1个人,2非个人
     */
    @ApiModelProperty(value = "抬头类型")
    private String receiveType;


    /**
     * 发票抬头
     */
    @ApiModelProperty(value = "发票抬头")
    private String invoiceHeader;


    /**
     * 税号
     */
    @ApiModelProperty(value = "税号")
    private String dutyParagraph;

    /**
     * 接收方式,1手机,2邮箱
     */
    @ApiModelProperty(value = "接收方式")
    private String mode;

    /**
     * 总金额
     */
    @ApiModelProperty(value = "总金额")
    private BigDecimal totalPrice;


    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 扩展内容
     */
    @ApiModelProperty(value = "扩展内容")
    private String extend;


}
